#!/bin/bash
#

##计算12345经过加减乘除等于15的式子

for i in + - \* /;do
    for j in + - \* /;do
	for m in + - \* /;do
	    for n in + - \* /;do
		if [ $((1${i}2${j}3${m}4${n}5)) -eq 15 ]; then
		    echo "1${i}2${j}3${m}4${n}5=15"
		fi
	    done
	done
    done
done
